<div class="login_view search_panel">
    <div class="panel panel-default">
        <div class="panel-body" ng-show="!reset_panel">
            <legend>
                <h4 class="login_title">登录我的图书馆</h4></legend>
            <form class="form-horizontal col-md-6 loginform">
                <div class="form-group">
                    <label for="inputEmail3" class="col-sm-3 control-label">用户名：</label>
                    <div class="col-sm-9">
                        <input class="form-control" ng-model='userId'>
                    </div>
                </div>
                <div class="form-group">
                    <label for="input" class="col-sm-3 control-label">密码：</label>
                    <div class="col-sm-9">
                        <input type="password" class="form-control" ng-model="password">
                    </div>
                </div>
                <div class="form-group" ng-show="error_login" style="text-align:center">
                    <label>账号密码错误</label>
                </div>
                <div class="form-group hidden">
                    <div class="col-sm-offset-2 col-sm-10">
                        <div class="radio">
                            <label>
                                <input type="radio" name="optionsRadios" id="optionsRadios1" value="option1" checked>证件号
                            </label>
                            <label>
                                <input type="radio" name="optionsRadios" id="optionsRadios2" value="option2">条码号
                            </label>
                            <label>
                                <input type="radio" name="optionsRadios" id="optionsRadios3" value="option3">Email
                            </label>
                        </div>
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-offset-2 col-sm-1 text-left">
                        <a>
                            <button type="submit" class="btn btn-primary btn-sm" ng-click="login()">登录图书馆</button>
                        </a>
                    </div>
                    <div class="col-sm-offset-1 col-sm-3 text-right">
                        <button type="submit" class="btn btn-danger btn-sm" ng-click="reset_panel = true">密码重置</button>
                    </div>
                </div>
            </form>
            <div class="form-horizontal col-md-6 logintip">
                <p class="text-primary">一、读者用户名为读者的证件号，条码号或者您的Email，具体可以自行选择.</p>
                <p class="text-primary">二、读者信息查询的初始密码有两种可能情况：</p>
                <p class="text-primary"> 1.读者证件号（一般即为您的共号） 2.借书证上的条形码号</p>
                <p class="text-primary">三、密码在进入系统后可由读者重新设置.</p>
                <p class="text-primary">四、Email由您自行设定，登陆后可以修改.</p>
                <p class="text-primary">五、密码取回需要您首先验证您的Email.</p>
            </div>
        </div>
        <div class="panel-body" ng-show="reset_panel">
            <legend>
                <h4 class="login_title">重置个人密码</h4></legend>
            <form class="form-horizontal col-md-6 loginform">
                <div class="form-group">
                    <div class="col-sm-offset-2 col-sm-10">
                        <div class="radio">
                            <label>
                                <input type="radio" name="optionsRadios" id="optionsRadios1" value="option1" checked>证件号
                            </label>
                            <label>
                                <input type="radio" name="optionsRadios" id="optionsRadios2" value="option2">条码号
                            </label>
                            <label>
                                <input type="radio" name="optionsRadios" id="optionsRadios3" value="option3">Email号
                            </label>
                        </div>
                    </div>
                </div>
                <div class="form-group">
                    <label for="inputEmail3" class="col-sm-2 control-label">号码：</label>
                    <div class="col-sm-10">
                        <input class="form-control">
                    </div>
                </div>
                <div class="form-group">
                    <label for="input" class="col-sm-2 control-label">姓名：</label>
                    <div class="col-sm-10">
                        <input class="form-control">
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-offset-2 col-sm-1 text-left">
                        <button type="submit" class="btn btn-primary btn-sm">确定重置</button>
                    </div>
                    <div class="col-sm-offset-1 col-sm-3 text-right">
                        <button type="submit" class="btn btn-defaut btn-sm" ng-click="reset_panel = false">
                            &lt;&lt; 返回</button>
                    </div>
                </div>
            </form>
            <div class="form-horizontal col-md-6 logintip">
                <p class="text-danger">一、如果您在个人资料里填写了正确的电子邮箱，我们会将您的密码发送到您的邮箱中.</p>
                <p class="text-danger">二、如果您没有填写电子邮箱，请联系图书馆工作人员.</p>
            </div>
        </div>
    </div>